package com.bird.util;

import java.awt.*;

public enum Constant {
    FRAM(600, 500, "飞翔的小鸟", 200, 200);
    //背景图片路径
    public static final String BK_IMG_PATH = "img/bg.png";
    public static final String BK_MUSIC_PATH = "src/com/bird/app/bg_music.wav";
    //背景的颜色
    public static final Color BK_COLOR = new Color(0x4b4cf);
    //小鸟的图片路径
    public static final String[] BIRD_IMG_PATH = {"img/0.png", "img/1.png", "img/2.png"};
    //管道的图片路径
    public static final String[] COLUMN_IMG_PATH = {"img/column.png", "img/up.png", "img/down.png"};
    private int width;
    private int height;
    private String title;
    private int x;
    private int y;

    Constant(int width, int height, String title, int x, int y) {
        this.width = width;
        this.height = height;
        this.title = title;
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

}
